﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200150D RID: 5389
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class WolfBroPropInfo : IMessage<WolfBroPropInfo>, IMessage, IEquatable<WolfBroPropInfo>, IDeepCloneable<WolfBroPropInfo>, IBufferMessage
	{
		// Token: 0x170043D9 RID: 17369
		// (get) Token: 0x0600F11D RID: 61725 RVA: 0x002838FF File Offset: 0x00281AFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<WolfBroPropInfo> Parser
		{
			get
			{
				return WolfBroPropInfo._parser;
			}
		}

		// Token: 0x170043DA RID: 17370
		// (get) Token: 0x0600F11E RID: 61726 RVA: 0x00283906 File Offset: 0x00281B06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return WolfBroPropInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170043DB RID: 17371
		// (get) Token: 0x0600F11F RID: 61727 RVA: 0x00283918 File Offset: 0x00281B18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return WolfBroPropInfo.Descriptor;
			}
		}

		// Token: 0x0600F120 RID: 61728 RVA: 0x0028391F File Offset: 0x00281B1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroPropInfo()
		{
		}

		// Token: 0x0600F121 RID: 61729 RVA: 0x00283934 File Offset: 0x00281B34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroPropInfo(WolfBroPropInfo other) : this()
		{
			this.motion_ = ((other.motion_ != null) ? other.motion_.Clone() : null);
			this.nHKKBMBCDJE_ = other.nHKKBMBCDJE_;
			this.wolfBroPos_ = other.wolfBroPos_.Clone();
			this.kMPCNKLGIAE_ = other.kMPCNKLGIAE_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600F122 RID: 61730 RVA: 0x0028399D File Offset: 0x00281B9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroPropInfo Clone()
		{
			return new WolfBroPropInfo(this);
		}

		// Token: 0x170043DC RID: 17372
		// (get) Token: 0x0600F123 RID: 61731 RVA: 0x002839A5 File Offset: 0x00281BA5
		// (set) Token: 0x0600F124 RID: 61732 RVA: 0x002839AD File Offset: 0x00281BAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MotionInfo Motion
		{
			get
			{
				return this.motion_;
			}
			set
			{
				this.motion_ = value;
			}
		}

		// Token: 0x170043DD RID: 17373
		// (get) Token: 0x0600F125 RID: 61733 RVA: 0x002839B6 File Offset: 0x00281BB6
		// (set) Token: 0x0600F126 RID: 61734 RVA: 0x002839BE File Offset: 0x00281BBE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NHKKBMBCDJE
		{
			get
			{
				return this.nHKKBMBCDJE_;
			}
			set
			{
				this.nHKKBMBCDJE_ = value;
			}
		}

		// Token: 0x170043DE RID: 17374
		// (get) Token: 0x0600F127 RID: 61735 RVA: 0x002839C7 File Offset: 0x00281BC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<Vector> WolfBroPos
		{
			get
			{
				return this.wolfBroPos_;
			}
		}

		// Token: 0x170043DF RID: 17375
		// (get) Token: 0x0600F128 RID: 61736 RVA: 0x002839CF File Offset: 0x00281BCF
		// (set) Token: 0x0600F129 RID: 61737 RVA: 0x002839D7 File Offset: 0x00281BD7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool KMPCNKLGIAE
		{
			get
			{
				return this.kMPCNKLGIAE_;
			}
			set
			{
				this.kMPCNKLGIAE_ = value;
			}
		}

		// Token: 0x0600F12A RID: 61738 RVA: 0x002839E0 File Offset: 0x00281BE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as WolfBroPropInfo);
		}

		// Token: 0x0600F12B RID: 61739 RVA: 0x002839F0 File Offset: 0x00281BF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(WolfBroPropInfo other)
		{
			return other != null && (other == this || (object.Equals(this.Motion, other.Motion) && this.NHKKBMBCDJE == other.NHKKBMBCDJE && this.wolfBroPos_.Equals(other.wolfBroPos_) && this.KMPCNKLGIAE == other.KMPCNKLGIAE && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600F12C RID: 61740 RVA: 0x00283A64 File Offset: 0x00281C64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.motion_ != null)
			{
				num ^= this.Motion.GetHashCode();
			}
			if (this.NHKKBMBCDJE != 0U)
			{
				num ^= this.NHKKBMBCDJE.GetHashCode();
			}
			num ^= this.wolfBroPos_.GetHashCode();
			if (this.KMPCNKLGIAE)
			{
				num ^= this.KMPCNKLGIAE.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600F12D RID: 61741 RVA: 0x00283AE0 File Offset: 0x00281CE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600F12E RID: 61742 RVA: 0x00283AE8 File Offset: 0x00281CE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600F12F RID: 61743 RVA: 0x00283AF4 File Offset: 0x00281CF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.motion_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.Motion);
			}
			this.wolfBroPos_.WriteTo(ref output, WolfBroPropInfo._repeated_wolfBroPos_codec);
			if (this.NHKKBMBCDJE != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.NHKKBMBCDJE);
			}
			if (this.KMPCNKLGIAE)
			{
				output.WriteRawTag(112);
				output.WriteBool(this.KMPCNKLGIAE);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600F130 RID: 61744 RVA: 0x00283B7C File Offset: 0x00281D7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.motion_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Motion);
			}
			if (this.NHKKBMBCDJE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NHKKBMBCDJE);
			}
			num += this.wolfBroPos_.CalculateSize(WolfBroPropInfo._repeated_wolfBroPos_codec);
			if (this.KMPCNKLGIAE)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600F131 RID: 61745 RVA: 0x00283BF4 File Offset: 0x00281DF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(WolfBroPropInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.motion_ != null)
			{
				if (this.motion_ == null)
				{
					this.Motion = new MotionInfo();
				}
				this.Motion.MergeFrom(other.Motion);
			}
			if (other.NHKKBMBCDJE != 0U)
			{
				this.NHKKBMBCDJE = other.NHKKBMBCDJE;
			}
			this.wolfBroPos_.Add(other.wolfBroPos_);
			if (other.KMPCNKLGIAE)
			{
				this.KMPCNKLGIAE = other.KMPCNKLGIAE;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600F132 RID: 61746 RVA: 0x00283C81 File Offset: 0x00281E81
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600F133 RID: 61747 RVA: 0x00283C8C File Offset: 0x00281E8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 74U)
				{
					if (num == 66U)
					{
						if (this.motion_ == null)
						{
							this.Motion = new MotionInfo();
						}
						input.ReadMessage(this.Motion);
						continue;
					}
					if (num == 74U)
					{
						this.wolfBroPos_.AddEntriesFrom(ref input, WolfBroPropInfo._repeated_wolfBroPos_codec);
						continue;
					}
				}
				else
				{
					if (num == 80U)
					{
						this.NHKKBMBCDJE = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.KMPCNKLGIAE = input.ReadBool();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005F2B RID: 24363
		private static readonly MessageParser<WolfBroPropInfo> _parser = new MessageParser<WolfBroPropInfo>(() => new WolfBroPropInfo());

		// Token: 0x04005F2C RID: 24364
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005F2D RID: 24365
		public const int MotionFieldNumber = 8;

		// Token: 0x04005F2E RID: 24366
		private MotionInfo motion_;

		// Token: 0x04005F2F RID: 24367
		public const int NHKKBMBCDJEFieldNumber = 10;

		// Token: 0x04005F30 RID: 24368
		private uint nHKKBMBCDJE_;

		// Token: 0x04005F31 RID: 24369
		public const int WolfBroPosFieldNumber = 9;

		// Token: 0x04005F32 RID: 24370
		private static readonly FieldCodec<Vector> _repeated_wolfBroPos_codec = FieldCodec.ForMessage<Vector>(74U, Vector.Parser);

		// Token: 0x04005F33 RID: 24371
		private readonly RepeatedField<Vector> wolfBroPos_ = new RepeatedField<Vector>();

		// Token: 0x04005F34 RID: 24372
		public const int KMPCNKLGIAEFieldNumber = 14;

		// Token: 0x04005F35 RID: 24373
		private bool kMPCNKLGIAE_;
	}
}
